package com.qf.edu.entity;

import java.math.BigDecimal;

/**
 * @author:huayuzhuo
 * @email:2798866329@qq.com
 * @desc:药品类
 * @datatime: 2022/5/29 13:44
 */
public class Drugs {
    private int id;
    private String name;
    private String vendor;
    private String deliveryUnit;
    private String createDate;
    private BigDecimal price;
    private int changeNumber;
    private String storageDate;
    private String life;
    private int number;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public String getDeliveryUnit() {
        return deliveryUnit;
    }

    public void setDeliveryUnit(String deliveryUnit) {
        this.deliveryUnit = deliveryUnit;
    }

    public String getCreateDate() {
        return createDate;
    }

    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public int getChangeNumber() {
        return changeNumber;
    }

    public void setChangeNumber(int changeNumber) {
        this.changeNumber = changeNumber;
    }

    public String getStorageDate() {
        return storageDate;
    }

    public void setStorageDate(String storageDate) {
        this.storageDate = storageDate;
    }

    public String getLife() {
        return life;
    }

    public void setLife(String life) {
        this.life = life;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    @Override
    public String toString() {
        return "Drugs{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", vendor='" + vendor + '\'' +
                ", deliveryUnit='" + deliveryUnit + '\'' +
                ", createDate='" + createDate + '\'' +
                ", price=" + price +
                ", changeNumber=" + changeNumber +
                ", storageDate='" + storageDate + '\'' +
                ", life='" + life + '\'' +
                ", number=" + number +
                '}';
    }

    public Drugs() {
    }

    public Drugs(int id, String name, String vendor, String deliveryUnit, String createDate, BigDecimal price, int changeNumber, String storageDate, String life, int number) {
        this.id = id;
        this.name = name;
        this.vendor = vendor;
        this.deliveryUnit = deliveryUnit;
        this.createDate = createDate;
        this.price = price;
        this.changeNumber = changeNumber;
        this.storageDate = storageDate;
        this.life = life;
        this.number = number;
    }
}
